package com.sky.service.User.Address;

/**
 * @Author 褚金龙
 * @Date 2024/9/27 19:57
 */

import com.sky.entity.Address;

import java.util.List;

/**
 * 收货地址相关接口
 */
public interface AddressService {
    //添加收货地址
    void saveAddress(Address address);

    List<Address> addressList();

    Address getById(Long id);

    void updateAddress(Address address);

    void deleteAddress(Long id);

    void defaultAddress(Long id);

    List<Address> getDefaultAddress();
}
